package org.raymond.iworks.study.basic.designpattern.facade;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class Projector {
    private Projector(){}
    private final static class Holder {
        private final static Projector instance = new Projector();
    }
    public static Projector getInstance(){
        return Projector.Holder.instance;
    }
    public void on(){
        System.out.println("projector on");
    }
    public void off(){
        System.out.println("projector off");
    }
    public void focus(){
        System.out.println("projector focus");
    }
    public void zoom(){
        System.out.println("projector zoom");
    }
}
